#include "common.h"

int dao_get_timezone() {
	static int _tmz = 108;
	
	if (_tmz!=108) {
		return _tmz;
	}
	
	long utc = wxGetUTCTime();
	long local = wxGetLocalTime();
	
	int x = local-utc;
	int y = x % 3600;
	_tmz = x/3600;
		
	if (y<0) {
		_tmz = _tmz-1;
	}

	return _tmz;
}


int dao_compare_version(const wxString& first, const wxString& second) {
	//wxString first.AfterLast('.')
	return 0;
}
